package com.atguigu.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
//链接阿里云oss上传头像
@EnableDiscoveryClient//服务发现
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})//排除数据库
@ComponentScan(basePackages = {"com.atguigu"})//加载其他项目的包的配置类
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
